package nftrainer.dbconnect.interfaces;

import java.sql.Connection;
import java.sql.SQLException;

import language.Languages;
import nftrainer.taskmanager.Task;


public interface IDBConnector {
	
	public void getRandomTask(Task task, Languages lang);
	
	public int getTaskAmount(Languages lang);
	
	public void openConnection();
	
	public Connection getConnection() throws SQLException;
	
	public String[][] loadTaskTable(String sql);
	
}
